using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN QuocGiaEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: QuocGiaEntity</para>
	/// <para>Description: ClassQuocGiaEntity store data of table QuocGia</para>
	///</summary>

	[DataContract]
	public partial class QuocGiaEntity{


		private bool _InternalChangedIsNullQuocGia_ID=true;
		private bool _IsNullQuocGia_ID=true;
		private bool _InternalChangedIsNullMaQuocGia=true;
		private bool _IsNullMaQuocGia=true;
		private bool _InternalChangedIsNullTenQuocGia=true;
		private bool _IsNullTenQuocGia=true;
		private bool _InternalChangedIsNullMoTaQuocGia=true;
		private bool _IsNullMoTaQuocGia=true;
		private int _QuocGia_ID;
		private string _MaQuocGia;
		private string _TenQuocGia;
		private string _MoTaQuocGia;
		[DataMember]
		public bool IsNullQuocGia_ID{
			get{return _IsNullQuocGia_ID;}
			set{if(!_InternalChangedIsNullQuocGia_ID)_IsNullQuocGia_ID=value;}
		}
		[DataMember]
		public bool IsNullMaQuocGia{
			get{return _IsNullMaQuocGia;}
			set{if(!_InternalChangedIsNullMaQuocGia)_IsNullMaQuocGia=value;}
		}
		[DataMember]
		public bool IsNullTenQuocGia{
			get{return _IsNullTenQuocGia;}
			set{if(!_InternalChangedIsNullTenQuocGia)_IsNullTenQuocGia=value;}
		}
		[DataMember]
		public bool IsNullMoTaQuocGia{
			get{return _IsNullMoTaQuocGia;}
			set{if(!_InternalChangedIsNullMoTaQuocGia)_IsNullMoTaQuocGia=value;}
		}
		[DataMember]
		public int QuocGia_ID{
			get{return _QuocGia_ID;}
			set{
				_QuocGia_ID=value;
				if(_QuocGia_ID!=null){
					_IsNullQuocGia_ID=false;
					_InternalChangedIsNullQuocGia_ID=true;
				}
			}
		}
		[DataMember]
		public string MaQuocGia{
			get{return _MaQuocGia;}
			set{
				_MaQuocGia=value;
				if(_MaQuocGia!=null){
					_IsNullMaQuocGia=false;
					_InternalChangedIsNullMaQuocGia=true;
				}
			}
		}
		[DataMember]
		public string TenQuocGia{
			get{return _TenQuocGia;}
			set{
				_TenQuocGia=value;
				if(_TenQuocGia!=null){
					_IsNullTenQuocGia=false;
					_InternalChangedIsNullTenQuocGia=true;
				}
			}
		}
		[DataMember]
		public string MoTaQuocGia{
			get{return _MoTaQuocGia;}
			set{
				_MoTaQuocGia=value;
				if(_MoTaQuocGia!=null){
					_IsNullMoTaQuocGia=false;
					_InternalChangedIsNullMoTaQuocGia=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END QuocGiaEntityBase*****************************************/
	/*****************************************************************************************************/
}

